package com.spring.wecloudfeign.service.controller;

import com.spring.wecloudfeign.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description:
 * @author: zp
 * @date: 2019-12-09 14:48
 */
@RestController
public class UserController {
    @Autowired
    private UserService userService;

    @GetMapping("/test")
    private String info() {
        System.out.println("2222222222222222222222222222222");
        String info = userService.info();
        return info;
    }
}
